<html>
  <head>
    <title>Teste</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script src="js/jquery/js/jquery-1.4.2.min.js"></script>
    <script type="textext/javascript">
        $(document).ready(function(){
            $("#test").click(function({
                $.ajax({
                    url:"http://tutorial/library/books/list",
                    type: "POST",
                    data: "format-json",
                    async: false,
                    sucess: function (response){
                        response;
                    }
                });
            }));
        });
    </script>
  </head>
  <body>
      <div id="test">Testing</div>
  </body>
</html>
